package com.codejie.pms.service;

import com.codejie.pms.entity.Customer;

import java.util.List;

public interface CustomerService {

    void addCustomer(Customer customer);

    void updateCustomer(Customer customer);

    void deleteCustomer(String customerId);

    Customer getCustomer(String customerId);

    void updateCustomerBySelf(Customer customer);

    Customer getCustomerByName(String customerName);

    /**
     * 查找客户by  projectId
     */

    Customer getCustomer2(String projectId);

    List<Customer> selectCustomerList();
}
